package com.fw.dao;

import java.util.List;

import com.fw.model.Ecommerce;

public interface EcommerceDao {
	public boolean add_ecommerceDao(Ecommerce ecommerce);
	public boolean delete_ecommerceDao(Ecommerce ecommerce);
	public Ecommerce query_ecommerceByIdDao(Ecommerce ecommerce);
	public List<Ecommerce> query_allEcommerceDao();
	public int query_totalEcommerceByPageDao(String sql,List<Object> par);
	public List<Ecommerce> query_allEcommerceByPageDao(String sql,int firstPage,int maxPage,List<Object> par);
	public boolean update_ecommerceByIdDao(Ecommerce ecommerce);
}
